What is the function of a spectrophotometer?

A spectrophotometer is a scientific instrument used to measure how much a substance absorbs or transmits light at different wavelengths. It works by passing a beam of light through a sample and measuring the amount of light that is absorbed or transmitted by the sample. This information can be used to determine the concentration of a specific substance in a sample, identify unknown substances, and monitor chemical reactions. Spectrophotometers are commonly used in fields such as chemistry, biochemistry, environmental science, and pharmaceuticals to analyze and quantify substances.